<script>
    mayusculas();
</script>
<?php echo $javascript->link('tooltip'); ?> 
<?php
echo $this->Session->flash();
?>
<?php echo $form->create('ProductiveLine'); ?>

<table border="1">
    <?php echo $form->hidden("ProductiveLine.initial_evaluation_id"); ?>
   <?php echo $form->hidden("ProductiveLine.id"); ?>
    <tbody>
       
        <tr>
            <td>Calificación crédito:</td>
            <td><?php echo $form->input("ProductiveLine.credito_calificacion", array('label' => '', 'options' => array('Sin registro' => 'Sin registro', 'Cumple' => 'Cumple', 'Subsanable' => 'Subsanable', ))); ?></td>
            <td>Valor crédito:</td>
            <td><?php echo $form->input("ProductiveLine.credito_valor", array('label' => '')); ?></td>
            <td>Concepto crédito:</td>
            <td><?php echo $form->input("ProductiveLine.credito_concepto", array('label' => '')); ?></td>
        </tr>
  
    </tbody>
</table>
<?php
if ($this->Session->read('estado') == 0)
echo $ajax->submit('Guardar', array('url' => array('controller' => 'ProductiveLines', 'action' => 'credit_edit',$this->data['ProductiveLine']['id'],$this->data['ProductiveLine']['initial_evaluation_id'] ), 'update' => 'credito', 'indicator' => 'loading')); ?>
<?php echo $form->end(); ?>